<?php

require_once 'LooseCOMF/InputValidator.php';

class BoolValidator implements InputValidator{

    public function validate($input){
        return $input == 'on' || $input == '' || $input == 'off' || $input === null;
    }

}
?>
